package com.shuaiche.yeguan.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by baoyinbo on 2018/1/24.
 * 我的联盟
 */

public class SCUnionModel implements Serializable {
    private Long unionId;         //联盟id
    private String unionLogo;     //logo
    private String unionName;
    private String createTime;
    private Integer memberNum;      //成员数量
    private Integer unionStatus;    //状态 1:待审核，2:审核通过，3:审核不通过, 4:解散
    private String unionSlogan;     //联盟口号
    private Integer stockNum;       //库存

    private Integer isOfficial;     //是否是官方 ,0否，1是
    private Integer isAlliance;     //是否有同盟 ,0否，1是
    private Integer isHot;          //是否热门   ,0否，1是



    private Integer isApply;        //是否是诚信 ，0否，1是

    private Integer isLeader;       //1:群主  0:不是群主

    private boolean isSelect;

    private List<String> members;      //联盟成员

    private Integer unionType;      //1：普通联盟  2：诚信联盟
    private ArrayList<String> carPictures;   //联盟专属的车辆图片

    private ArrayList<SCCarPicsModel> exactPictures;    //精确上传的车辆图片

    /**
     * 用于海报选择
     */
    private String unionLogo2;      //官方联盟
    private String licensePlate;    //车挡牌图片地址

    public Long getUnionId() {
        return unionId;
    }

    public void setUnionId(Long unionId) {
        this.unionId = unionId;
    }

    public String getUnionLogo() {
        return unionLogo;
    }

    public void setUnionLogo(String unionLogo) {
        this.unionLogo = unionLogo;
    }

    public String getUnionName() {
        return unionName;
    }

    public void setUnionName(String unionName) {
        this.unionName = unionName;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public Integer getMemberNum() {
        return memberNum;
    }

    public void setMemberNum(Integer memberNum) {
        this.memberNum = memberNum;
    }

    public Integer getUnionStatus() {
        return unionStatus;
    }

    public void setUnionStatus(Integer unionStatus) {
        this.unionStatus = unionStatus;
    }

    public String getUnionSlogan() {
        return unionSlogan;
    }

    public void setUnionSlogan(String unionSlogan) {
        this.unionSlogan = unionSlogan;
    }

    public boolean isSelect() {
        return isSelect;
    }

    public void setSelect(boolean select) {
        isSelect = select;
    }


    public Integer getIsLeader() {
        return isLeader;
    }

    public void setIsLeader(Integer isLeader) {
        this.isLeader = isLeader;
    }

    public Integer getStockNum() {
        return stockNum;
    }

    public void setStockNum(Integer stockNum) {
        this.stockNum = stockNum;
    }

    public Integer getIsOfficial() {
        return isOfficial == null ? 0 : isOfficial;
    }

    public void setIsOfficial(Integer isOfficial) {
        this.isOfficial = isOfficial;
    }

    public Integer getIsAlliance() {
        return isAlliance == null ? 0 : isAlliance;
    }

    public void setIsAlliance(Integer isAlliance) {
        this.isAlliance = isAlliance;
    }

    public Integer getIsHot() {
        return isHot == null ? 0 : isHot;
    }

    public void setIsHot(Integer isHot) {
        this.isHot = isHot;
    }

    public List<String> getMembers() {
        return members;
    }

    public void setMembers(List<String> members) {
        this.members = members;
    }

    public String getUnionLogo2() {
        return unionLogo2;
    }

    public void setUnionLogo2(String unionLogo2) {
        this.unionLogo2 = unionLogo2;
    }

    public ArrayList<String> getCarPictures() {
        return carPictures;
    }

    public void setCarPictures(ArrayList<String> carPictures) {
        this.carPictures = carPictures;
    }

    public String getLicensePlate() {
        return licensePlate;
    }

    public void setLicensePlate(String licensePlate) {
        this.licensePlate = licensePlate;
    }

    public Integer getUnionType() {
        return unionType;
    }

    public void setUnionType(Integer unionType) {
        this.unionType = unionType;
    }

    public ArrayList<SCCarPicsModel> getExactPictures() {
        return exactPictures;
    }

    public void setExactPictures(ArrayList<SCCarPicsModel> exactPictures) {
        this.exactPictures = exactPictures;
    }
    public Integer getIsApply() {
        return isApply;
    }

    public void setIsApply(Integer isApply) {
        this.isApply = isApply;
    }
}
